public class test {
    public static void main(String[] args) {
        Dog dog=new Dog();//在psvm中写
        dog.name="lala";
        dog.age=7;
        dog.eat();
        System.out.println("=========");
        dog.func();
        System.out.println(dog.toString());
        System.out.println(dog);
    }

}
